load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
    name = "genwrapnode_lib",
    srcs = ["genwrapnode.go"],
    importpath = "github.com/lestrrat-go/libxml2/internal/cmd/genwrapnode",
    visibility = ["//visibility:private"],
    deps = ["@com_github_pkg_errors//:errors"],
)

go_binary(
    name = "genwrapnode",
    embed = [":genwrapnode_lib"],
    visibility = ["//:__subpackages__"],
)
